// Copyright 2024 Xiguan Inc
// Author: xiguan
// Email: xiguan.teng@qq.com
// Created on 2024/8/7
// This is ...
//

#ifndef MAPREDUCE_LAB1_LAB1_MRAPPS_WC_H_
#define MAPREDUCE_LAB1_LAB1_MRAPPS_WC_H_

#include <string>
#include <vector>

using VecMapRet = std::vector<std::pair<std::string, int>>;

VecMapRet lab1_map(
    const std::string &filename, const std::string &file_contend);

int lab1_reduce(const std::string word, std::vector<int> values);

#endif  // MAPREDUCE_LAB1_LAB1_MRAPPS_WC_H_
